package com.mocha.websocket.command;

import com.mocha.websocket.metadata.MochaTextMessage;
import lombok.*;


/**
 * 前端传过来的 MochaMessage  转换成 MochaCommand 对象
 * @author: songkui
 * @since: 2023/2/21 18:05
 */
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MochaTextParam<T extends MochaTextMessage> extends MochaBasicParam {
    private int cmd;
    private Long userId;
    private T request;

}
